package forcetower;

import static org.junit.Assert.*;

import org.junit.Test;

public class CartaTests {

	@Test
	public void BasicTest() {
		Carta a = new Carta (0,0,0);
		assertEquals (0, a.getNumeroOrdenado());
		assertEquals ("A", a.getFigura());
		assertEquals ("Copas", a.getNaipe());
		assertEquals (11, a.getValor());
		assertEquals (1, a.getNumero());
		
		a.setNumero();
		
		assertEquals (1, a.getValor());
		assertEquals (-1, a.getNumero());
		
		
		Carta b = new Carta (18,18,89);
		assertEquals (0, b.getNumeroOrdenado());
		assertNull (b.getFigura());
		assertNull (b.getNaipe());
		assertEquals (0, b.getValor());
		assertEquals (0, b.getNumero());
		
	}

}
